﻿using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Transportr
{
    public class LineItemViewModel : BaseItemViewModel
    {
        private int mlnId;
        private string mLineNumber;
        private string mCompany;
        private string mRoute;
        private string mLineType;

        public int lnId
        {
            get { return mlnId; }
            set
            {
                if (value != mlnId)
                {
                    mlnId = value;
                    NotifyPropertyChanged("lnId");
                }
            }
        }
        public string LineNumber
        {
            get { return mLineNumber; }
            set
            {
                if (value != mLineNumber)
                {
                    mLineNumber = value;
                    NotifyPropertyChanged("LineNumber");
                }
            }
        }
        public string Company
        {
            get { return mCompany; }
            set
            {
                if (value != mCompany)
                {
                    mCompany = value;
                    NotifyPropertyChanged("Company");
                }
            }
        }
        public string Route
        {
            get { return mRoute; }
            set
            {
                if (value != mRoute)
                {
                    mRoute = value;
                    NotifyPropertyChanged("Route");
                }
            }
        }
        public string LineType
        {
            get { return mLineType; }
            set
            {
                if (value != mLineType)
                {
                    mLineType = value;
                    NotifyPropertyChanged("LineType");
                }
            }
        }
    }
}